package com.wang.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum DiagnosisCrackEnum {
    // 裂纹舌
    CRACK(0,"裂纹舌"),
    // 无裂纹
    NORMAL(1,"无裂纹");

    @EnumValue
    private final Integer code;
    private final String name;

    DiagnosisCrackEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }
}
